	function doDel(str){
		if(confirm("确定要删除吗？")){
			document.forms[0].action = str;
   			document.forms[0].submit();
   		}
	}
	function delRows(str){
		if(!isChecked()){
			alert("未选中要删除的记录！");
			return;
		}
		doDel(str);
	}
	function isChecked(){
		var list = document.getElementsByName("nos");
		for(var i = 0; i < list.length; i++){
			if(list[i].checked == true)
				return true;
		}
		return false;
	}
	function doEdit(str){
		document.forms[0].action = str;
   		document.forms[0].submit();
	}
	function doCheck(){
		var list = document.getElementsByName("nos");
		var check1 = document.getElementById("checkAll");
		if(check1.checked == true){
			for(var i = 0; i < list.length; i++){
				list[i].checked = true;
			}
		} else {
			for(var i = 0; i < list.length; i++){
				list[i].checked = false;
			}
		}
	}
	function doExit(str) {
		if(confirm("确定要退出系统吗？")){
			document.forms[0].action = str;
   			document.forms[0].submit();
   		}
	}